Finds items with keys less than the specified value.

Namespace:  C1.LiveLinq.Indexing.Search
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
IndexQuery<T, TKey> FindLess(
	TKey key,
	bool inclusive,
	Func<TKey, bool> keyPredicate,
	Order order
)
Visual Basic
Function FindLess ( _
	key As TKey, _
	inclusive As Boolean, _
	keyPredicate As Func(Of TKey, Boolean), _
	order As Order _
) As IndexQuery(Of T, TKey)

Parameters

key
Type: TKey
Maximum key value to search for.
inclusive
Type: System..::..Boolean
If true, the result includes items with the specified key value. Otherwise, the result only includes those with keys strictly less than the specified value.
keyPredicate
Type: System..::..Func<(Of <(<'TKey, Boolean>)>)>
An optional condition that found items must satisfy.
order
Type: C1.LiveLinq..::..Order
Optionally specifies the order of the key values to sort the result (Order.Unordered if sorting is not required).

Return Value

An object enumerating all items whose key values are less than the specified value.

See Also